import request from './http'


export const addOrderApi = async (params) => {
	return request('orders/add',params)
}

export const detailByIdApi = async (params) => {
	return request('orders/detailById',params)
}

export const detailByOutTradeNoApi = async (params) => {
	return request('orders/detailByOutTradeNo',params)
}

export const unifiedOrderApi = async (params) => {
	return request('orders/unifiedOrder',params)
}

export const orderPageListApi = async (params) => {
	return request('orders/pageList',params)
}
export const orderDeleteByIdApi = async (params) => {
	return request('orders/delete',params)
}
export const orderCancleApi = async (params) => {
	return request('orders/invalid',params)
}